package com.youxin.busfoundation.config;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * zookeeper 监控配置
 * @author yingde.cao
 *
 */
@Configuration
@PropertySource("classpath:${spring.profiles.active}/monitor.properties")
@ConfigurationProperties(prefix="monitor.zookeeper")
public class MonitorZookeeperConfig extends MonitorBaseBean{
	
	private List<String> servers;

	public List<String> getServers() {
		return servers;
	}

	public void setServers(List<String> servers) {
		this.servers = servers;
	}	
	
}
